package com.wwu.common.utils;

import com.wwu.common.exception.ParamsException;

/**
 * 断言判断参数工具类
 * @author 一蓑烟雨
 * @version 1.0.0
 * @date 2023-06-01 16:03
 */
public class AssertUtil {
    public static void isTrue(Boolean flag,String msg){
        if(flag){
            throw new ParamsException(msg);
        }
    }
}
